<!DOCTYPE html>
<!--suppress ALL-->
<!-- saved from url=(0052)http://getbootstrap.com/docs/4.0/examples/dashboard/ -->
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>xhlMr - 练习</title>
    <!-- Bootstrap core CSS -->
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link th:href="@{/css/dashboard.css}" rel="stylesheet">
    <style type="text/css">
        /* Chart.js */

        @-webkit-keyframes chartjs-render-animation {
            from {
                opacity: 0.99
            }
            to {
                opacity: 1
            }
        }

        @keyframes chartjs-render-animation {
            from {
                opacity: 0.99
            }
            to {
                opacity: 1
            }
        }

        .chartjs-render-monitor {
            -webkit-animation: chartjs-render-animation 0.001s;
            animation: chartjs-render-animation 0.001s;
        }
    </style>
</head>

<body>

<!--		顶部导航栏-->
<div th:replace="~{commons/commons :: top}"></div>

<div class="container-fluid">
    <div class="row">
        <!--侧边栏-->
        <div th:replace="~{commons/commons :: sidebar(active='hotnews')}"></div>

        <main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4">
            <div style="height: 65px;text-align: center;color: red;font-size: 16px;font-weight:bold">新闻详情</div>

            <div style="height: 300px;width: 1000px;border: 2px solid red;margin: 0px auto">
                <div style="font-weight:bold;margin-bottom: 25px;margin-left: 55px;margin-top: 20px;">标题：<span
                        style="color: rebeccapurple">[[${news.getTitile()}]]</span></div>
                <div style="height: 190px;width: 100%;text-align: center" th:text="${news.getCcontent()}"></div>
                <div style="float:right;padding-right: 70px;">
                    发布时间：[[${#dates.format(news.getCdate(),'yyyy-MM-dd HH-mm-ss')}]] <span
                        style="color: mediumvioletred;margin-right: 15px;margin-left: 15px;"> 作者：[[${news.getCauthor()}]]</span>
                    热度：<span style="color: red;font-weight:bold">[[${news.getHeat()}]]</span>
                </div>
            </div>
        </main>
    </div>
</div>


</body>

</html>